package com.trimps.wifi.service;

import java.util.List;

import com.trimps.wifi.pojo.Device;
import com.trimps.wifi.pojo.DeviceCfg;

public interface IDevService {
    
	public int getDevCount();

	public Device getDevById(int id);
	
	public Device getByDevNo(String devNo);
	
	public List<Device> getAllDevice(int currentPage, int rowPerPage);
	
	public void editDevCfg(DeviceCfg cfg);

	public DeviceCfg getDevCfgByDevNo(String devNo);

	public int saveDevice(Device dev);
	
	public int saveDeviceCfg(DeviceCfg cfg);

	public void delByNo(String devNo);

}
